package com.sojson.util.file.format.interfaces;

import java.io.ByteArrayOutputStream;
import java.io.InputStream;

/**
 * 文件格式转换接口
 * 
 * @author liu
 * @Date 2020-06-28 10:55:28
 * @Description
 *
 */
public interface FileFormatInterface {

    /**
     * word转pdf
     * 
     * @param inputStream
     * @return
     * @throws Exception
     */
    ByteArrayOutputStream wordToPdf(InputStream inputStream) throws Exception;

    /**
     * word转pdf
     * 
     * @param inputStream
     * @return
     * @throws Exception
     */
    byte[] wordToPdfByte(InputStream inputStream) throws Exception;

}